Optimal. Leaf size=263 \[ a b^2 e^2 x+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \log \left (1-(c+d x)^2\right )}{2 d}-\frac {b^2 e^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {PolyLog}\left (2,1-\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \text {PolyLog}\left (3,1-\frac {2}{1-c-d x}\right )}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.34, antiderivative size = 263, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 11, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.478, Rules used = {6242, 12,
6037, 6127, 6021, 266, 6095, 6131, 6055, 6205, 6745} \begin {gather*} -\frac {b^2 e^2 \text {Li}_2\left (1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )}{d}+a b^2 e^2 x-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \log \left (\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^2}{d}+\frac {b^3 e^2 \text {Li}_3\left (1-\frac {2}{-c-d x+1}\right )}{2 d}+\frac {b^3 e^2 \log \left (1-(c+d x)^2\right )}{2 d}+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 266
Rule 6021
Rule 6037
Rule 6055
Rule 6095
Rule 6127
Rule 6131
Rule 6205
Rule 6242
Rule 6745
Rubi steps
\begin {align*} \int (c e+d e x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3 \, dx &=\frac {\text {Subst}\left (\int e^2 x^2 \left (a+b \tanh ^{-1}(x)\right )^3 \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 \text {Subst}\left (\int x^2 \left (a+b \tanh ^{-1}(x)\right )^3 \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {\left (b e^2\right ) \text {Subst}\left (\int \frac {x^3 \left (a+b \tanh ^{-1}(x)\right )^2}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {\left (b e^2\right ) \text {Subst}\left (\int x \left (a+b \tanh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}-\frac {\left (b e^2\right ) \text {Subst}\left (\int \frac {x \left (a+b \tanh ^{-1}(x)\right )^2}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {\left (b e^2\right ) \text {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right )^2}{1-x} \, dx,x,c+d x\right )}{d}-\frac {\left (b^2 e^2\right ) \text {Subst}\left (\int \frac {x^2 \left (a+b \tanh ^{-1}(x)\right )}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}+\frac {\left (b^2 e^2\right ) \text {Subst}\left (\int \left (a+b \tanh ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}-\frac {\left (b^2 e^2\right ) \text {Subst}\left (\int \frac {a+b \tanh ^{-1}(x)}{1-x^2} \, dx,x,c+d x\right )}{d}+\frac {\left (2 b^2 e^2\right ) \text {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right ) \log \left (\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=a b^2 e^2 x-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}-\frac {b^2 e^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{d}+\frac {\left (b^3 e^2\right ) \text {Subst}\left (\int \tanh ^{-1}(x) \, dx,x,c+d x\right )}{d}+\frac {\left (b^3 e^2\right ) \text {Subst}\left (\int \frac {\text {Li}_2\left (1-\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=a b^2 e^2 x+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}-\frac {b^2 e^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \text {Li}_3\left (1-\frac {2}{1-c-d x}\right )}{2 d}-\frac {\left (b^3 e^2\right ) \text {Subst}\left (\int \frac {x}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=a b^2 e^2 x+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \log \left (1-(c+d x)^2\right )}{2 d}-\frac {b^2 e^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \text {Li}_3\left (1-\frac {2}{1-c-d x}\right )}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.44, size = 336, normalized size = 1.28 \begin {gather*} \frac {e^2 \left (3 a^2 b (c+d x)^2+2 a^3 (c+d x)^3+6 a^2 b (c+d x)^3 \tanh ^{-1}(c+d x)+3 a^2 b \log \left (1-(c+d x)^2\right )+6 a b^2 \left (c+d x-\tanh ^{-1}(c+d x)+(c+d x)^2 \tanh ^{-1}(c+d x)-\tanh ^{-1}(c+d x)^2+(c+d x)^3 \tanh ^{-1}(c+d x)^2-2 \tanh ^{-1}(c+d x) \log \left (1+e^{-2 \tanh ^{-1}(c+d x)}\right )+\text {PolyLog}\left (2,-e^{-2 \tanh ^{-1}(c+d x)}\right )\right )+b^3 \left (6 (c+d x) \tanh ^{-1}(c+d x)-3 \left (1-(c+d x)^2\right ) \tanh ^{-1}(c+d x)^2-2 \tanh ^{-1}(c+d x)^3+2 (c+d x) \tanh ^{-1}(c+d x)^3-2 (c+d x) \left (1-(c+d x)^2\right ) \tanh ^{-1}(c+d x)^3-6 \tanh ^{-1}(c+d x)^2 \log \left (1+e^{-2 \tanh ^{-1}(c+d x)}\right )-6 \log \left (\frac {1}{\sqrt {1-(c+d x)^2}}\right )+6 \tanh ^{-1}(c+d x) \text {PolyLog}\left (2,-e^{-2 \tanh ^{-1}(c+d x)}\right )+3 \text {PolyLog}\left (3,-e^{-2 \tanh ^{-1}(c+d x)}\right )\right )\right )}{6 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 15.65, size = 1345, normalized size = 5.11
method | result | size |
derivativedivides | \(\text {Expression too large to display}\) | \(1345\) |
default | \(\text {Expression too large to display}\) | \(1345\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} e^{2} \left (\int a^{3} c^{2}\, dx + \int a^{3} d^{2} x^{2}\, dx + \int b^{3} c^{2} \operatorname {atanh}^{3}{\left (c + d x \right )}\, dx + \int 3 a b^{2} c^{2} \operatorname {atanh}^{2}{\left (c + d x \right )}\, dx + \int 3 a^{2} b c^{2} \operatorname {atanh}{\left (c + d x \right )}\, dx + \int 2 a^{3} c d x\, dx + \int b^{3} d^{2} x^{2} \operatorname {atanh}^{3}{\left (c + d x \right )}\, dx + \int 3 a b^{2} d^{2} x^{2} \operatorname {atanh}^{2}{\left (c + d x \right )}\, dx + \int 3 a^{2} b d^{2} x^{2} \operatorname {atanh}{\left (c + d x \right )}\, dx + \int 2 b^{3} c d x \operatorname {atanh}^{3}{\left (c + d x \right )}\, dx + \int 6 a b^{2} c d x \operatorname {atanh}^{2}{\left (c + d x \right )}\, dx + \int 6 a^{2} b c d x \operatorname {atanh}{\left (c + d x \right )}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (c\,e+d\,e\,x\right )}^2\,{\left (a+b\,\mathrm {atanh}\left (c+d\,x\right )\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________